package com.dotto.atos.services.actions;

import java.util.Date;

import com.dotto.atos.models.Announcement;

public class AnnouncementService {

	public static final String TAG = "AnnouncementService>";

	@SuppressWarnings("deprecation")
	public Announcement[] getAnnouncementList() {
		Announcement[] list = new Announcement[3];
		Announcement ref1 = new Announcement();
		ref1.subject = "Admin Message";
		ref1.from = "Admin";
		ref1.to = "All";
		ref1.message = "New credit card product activated";
		ref1.date = new Date(2013, 2, 1);
		list[0] = ref1;
		Announcement ref2 = new Announcement();
		ref2.subject = "Out oof Office Info";
		ref2.from = "Demo #2 User";
		ref2.to = "Demo User";
		ref2.message = "I will be out of office for next week";
		ref2.date = new Date(2013, 2, 4);
		list[1] = ref2;
		Announcement ref3 = new Announcement();
		ref3.subject = "Status Reports";
		ref3.from = "Team #1";
		ref3.to = "Team #1 Members";
		ref3.message = "Please update your status reports";
		ref3.date = new Date(2013, 2, 11);
		list[2] = ref3;
		return list;
	}

}
